package cn.lxh.org.mapper;

import cn.lxh.org.domain.Shop;
import cn.lxh.basic.mapper.BaseMapper;
import cn.lxh.org.vo.ShopVo;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lxh
 * @since 2022-06-12
 */
@Repository
@Mapper
public interface ShopMapper extends BaseMapper<Shop> {

    Shop findByName(String name);

    void batchAdd(List<Shop> shops);

    List<ShopVo> findEcharts();

}
